package com.example.controller;

import com.example.service.Userservice;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class Usercontroller {
    @Resource
    private Userservice userservice;

    @RequestMapping("/test")
    public String test(){

        return "fegin  consumer" + userservice.test();
    }
}
